#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

#define swap(x) (x=((x&0xaaaaaaaa)>>1)+((x&0x55555555)<<1))
int main(void)
{
	int n = 10;
	printf("%d", swap(n));
}